package com.chinasoft.class1.group1;

import com.chinasoft.main.TrueWord;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;

public class LiXiaoJun implements TrueWord {
    List<String> wordList = new ArrayList<String>();
    Random random = new Random();

    public LiXiaoJun() {
        wordList.add("我好困呀 ！");
        wordList.add("我想去吃饭 ！");
        wordList.add("中午吃什么好呢 ！");
    }

    @Override
    public String getName() {
        return "李晓君";
    }

    @Override
    public String getWord() {
        int index = random.nextInt(wordList.size());
        return this.wordList.get(index);
    }
}

